package com.timguan.render.dao.persistence.cms;

import com.timguan.render.dao.domain.cms.CmsTopicDOExample;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

/**
 * Created by guankaiqiang on 2015/3/2.
 */
public interface CmsTopicDOMapperExt {
    /**
     * 查询专题id列表
     */
    @SelectProvider(type = CmsTopicDOSqlProdviderExt.class, method = "selectActivityIdsByExample")
    @Results({@Result(column = "id", property = "id", id = true)})
    List<Integer> selectActivityIdsByExample(CmsTopicDOExample example);
}
